package com.ruoyi.web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 其他新闻类对象 other_news
 * 
 * @author drx
 * @date 2024-03-20
 */
@ApiModel("其他新闻类")
public class OtherNews extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
@ApiModelProperty("主键")
    private Long id;

    /** 药品id */
    @Excel(name = "药品id")
@ApiModelProperty("药品id")
    private Long drugId;

    /** 文章标题 */
    @Excel(name = "文章标题")
@ApiModelProperty("文章标题")
    private String name;

    /** 文章内容 */
    @Excel(name = "文章内容")
@ApiModelProperty("文章内容")
    private String content;

    /** 摘要 */
    @Excel(name = "摘要")
@ApiModelProperty("摘要")
    private String description;

    /** 关键词 */
    @Excel(name = "关键词")
@ApiModelProperty("关键词")
    private String keyword;

    /** 大类：1、远程问诊  2、医药前沿  3、安全用药、4、健康护理 */
    @Excel(name = "大类：1、远程问诊  2、医药前沿  3、安全用药、4、健康护理")
@ApiModelProperty("大类：1、远程问诊  2、医药前沿  3、安全用药、4、健康护理")
    private String classify;

    /** 小类：2-1每日药闻 2-2新药快讯 2-3相关政策 2-4行业动态 3-1用药常识 3-2用药误区 4-1健康饮食 4-2日常护理 4-3心理健康 */
    @Excel(name = "小类：2-1每日药闻 2-2新药快讯 2-3相关政策 2-4行业动态 3-1用药常识 3-2用药误区 4-1健康饮食 4-2日常护理 4-3心理健康")
@ApiModelProperty("小类：2-1每日药闻 2-2新药快讯 2-3相关政策 2-4行业动态 3-1用药常识 3-2用药误区 4-1健康饮食 4-2日常护理 4-3心理健康")
    private String type;

    /** 状态 0 未发布 1 已发布 */
    @Excel(name = "状态 0 未发布 1 已发布")
@ApiModelProperty("状态 0 未发布 1 已发布")
    private String state;

    /** 图片 */
    @Excel(name = "图片")
@ApiModelProperty("图片")
    private String icon;

    /** 浏览量 */
    @Excel(name = "浏览量")
@ApiModelProperty("浏览量")
    private Long hits;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
@ApiModelProperty("创建人名称")
    private String createName;

    /** 更新人名称 */
    @Excel(name = "更新人名称")
@ApiModelProperty("更新人名称")
    private String updateName;

    /** 是否删除（0否；1是） */
@ApiModelProperty("是否删除（0否；1是）")
    private String delFlag;

    private Date startTime;

    private Date endTime;

    @ApiModelProperty("是否推荐")
    private String recommendState;

    @ApiModelProperty("温馨提示")
    private String warmPrompt;

    @ApiModelProperty("参考资料")
    private String referenceMaterial;

    public String getWarmPrompt() {
        return warmPrompt;
    }

    public void setWarmPrompt(String warmPrompt) {
        this.warmPrompt = warmPrompt;
    }

    public String getReferenceMaterial() {
        return referenceMaterial;
    }

    public void setReferenceMaterial(String referenceMaterial) {
        this.referenceMaterial = referenceMaterial;
    }

    public String getRecommendState() {
        return recommendState;
    }

    public void setRecommendState(String recommendState) {
        this.recommendState = recommendState;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDrugId(Long drugId) 
    {
        this.drugId = drugId;
    }

    public Long getDrugId() 
    {
        return drugId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setKeyword(String keyword) 
    {
        this.keyword = keyword;
    }

    public String getKeyword() 
    {
        return keyword;
    }
    public void setClassify(String classify) 
    {
        this.classify = classify;
    }

    public String getClassify() 
    {
        return classify;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setIcon(String icon) 
    {
        this.icon = icon;
    }

    public String getIcon() 
    {
        return icon;
    }
    public void setHits(Long hits) 
    {
        this.hits = hits;
    }

    public Long getHits() 
    {
        return hits;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setUpdateName(String updateName) 
    {
        this.updateName = updateName;
    }

    public String getUpdateName() 
    {
        return updateName;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("drugId", getDrugId())
            .append("name", getName())
            .append("content", getContent())
            .append("description", getDescription())
            .append("keyword", getKeyword())
            .append("classify", getClassify())
            .append("type", getType())
            .append("state", getState())
            .append("icon", getIcon())
            .append("hits", getHits())
            .append("createBy", getCreateBy())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
